package com.zmj.dto;


import com.zmj.entity.User;

public class UserDTO extends User {
    private String  captcha;
    private String nextPassword;

    public String getCaptcha() {

        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getNextPassword() {
        return nextPassword;
    }

    public void setNextPassword(String nextPassword) {
        this.nextPassword = nextPassword;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"captcha\":\"")
                .append(captcha).append('\"');
        sb.append(",\"nextPassword\":\"")
                .append(nextPassword).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
